
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <script src="iconfont.js"></script>

    <style type="text/css">
        .icon {
          /* 通过设置 font-size 来改变图标大小 */
          width: 1em; height: 1em;
          /* 图标和文字相邻时，垂直对齐 */
          vertical-align: -0.15em;
          /* 通过设置 color 来改变 SVG 的颜色/fill */
          fill: currentColor;
          /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
             normalize.css 中也包含这行 */
          overflow: hidden;
        }

    </style>
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jisuanqi"></use>
                    </svg>
                    <div class="name">计算器</div>
                    <div class="fontclass">#icon-jisuanqi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wenti"></use>
                    </svg>
                    <div class="name">问题</div>
                    <div class="fontclass">#icon-wenti</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danxuan-moren"></use>
                    </svg>
                    <div class="name">单选-默认</div>
                    <div class="fontclass">#icon-danxuan-moren</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danxuan-xuanting"></use>
                    </svg>
                    <div class="name">单选-悬停</div>
                    <div class="fontclass">#icon-danxuan-xuanting</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danxuan-jinyong"></use>
                    </svg>
                    <div class="name">单选-禁用</div>
                    <div class="fontclass">#icon-danxuan-jinyong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuxuan-jinyong"></use>
                    </svg>
                    <div class="name">复选-禁用</div>
                    <div class="fontclass">#icon-fuxuan-jinyong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danxuan-jinyongyixuanze"></use>
                    </svg>
                    <div class="name">单选-禁用已选择</div>
                    <div class="fontclass">#icon-danxuan-jinyongyixuanze</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danxuan-xuanzhong"></use>
                    </svg>
                    <div class="name">单选-选中</div>
                    <div class="fontclass">#icon-danxuan-xuanzhong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuxuan-jinyongyixuanze"></use>
                    </svg>
                    <div class="name">复选-禁用已选择</div>
                    <div class="fontclass">#icon-fuxuan-jinyongyixuanze</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuxuan-moren"></use>
                    </svg>
                    <div class="name">复选-默认</div>
                    <div class="fontclass">#icon-fuxuan-moren</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuxuan-xuanting"></use>
                    </svg>
                    <div class="name">复选-悬停</div>
                    <div class="fontclass">#icon-fuxuan-xuanting</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-icon-jiantouxia"></use>
                    </svg>
                    <div class="name">icon-箭头下</div>
                    <div class="fontclass">#icon-icon-jiantouxia</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-icon-jiantoushang"></use>
                    </svg>
                    <div class="name">icon-箭头上</div>
                    <div class="fontclass">#icon-icon-jiantoushang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-icon-sousuo"></use>
                    </svg>
                    <div class="name">icon-搜索</div>
                    <div class="fontclass">#icon-icon-sousuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xiangyou"></use>
                    </svg>
                    <div class="name">向右</div>
                    <div class="fontclass">#icon-xiangyou</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-iPhoneCopy"></use>
                    </svg>
                    <div class="name">iPhone 7 Copy 16</div>
                    <div class="fontclass">#icon-iPhoneCopy</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shanghuajiazaigengduo"></use>
                    </svg>
                    <div class="name">上滑加载更多</div>
                    <div class="fontclass">#icon-shanghuajiazaigengduo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-canzhao"></use>
                    </svg>
                    <div class="name">canzhao</div>
                    <div class="fontclass">#icon-canzhao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shanchu"></use>
                    </svg>
                    <div class="name">删除</div>
                    <div class="fontclass">#icon-shanchu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-bianji"></use>
                    </svg>
                    <div class="name">编辑</div>
                    <div class="fontclass">#icon-bianji</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zengjia"></use>
                    </svg>
                    <div class="name">增加</div>
                    <div class="fontclass">#icon-zengjia</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jianshao"></use>
                    </svg>
                    <div class="name">减少</div>
                    <div class="fontclass">#icon-jianshao</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-rili"></use>
                    </svg>
                    <div class="name">日历</div>
                    <div class="fontclass">#icon-rili</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tishianniutixing"></use>
                    </svg>
                    <div class="name">提示按钮－提醒</div>
                    <div class="fontclass">#icon-tishianniutixing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tishianniuguanbi"></use>
                    </svg>
                    <div class="name">提示按钮－关闭</div>
                    <div class="fontclass">#icon-tishianniuguanbi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tishianniuzhuyi"></use>
                    </svg>
                    <div class="name">提示按钮－注意</div>
                    <div class="fontclass">#icon-tishianniuzhuyi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tishianniuchenggong"></use>
                    </svg>
                    <div class="name">提示按钮－成功</div>
                    <div class="fontclass">#icon-tishianniuchenggong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xialaduoxuanxianghoverguanbi"></use>
                    </svg>
                    <div class="name">下拉多选项hover－关闭</div>
                    <div class="fontclass">#icon-xialaduoxuanxianghoverguanbi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuzhi"></use>
                    </svg>
                    <div class="name">复制</div>
                    <div class="fontclass">#icon-fuzhi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiaoyidalei"></use>
                    </svg>
                    <div class="name">交易大类</div>
                    <div class="fontclass">#icon-jiaoyidalei</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiaoyileixing"></use>
                    </svg>
                    <div class="name">交易类型</div>
                    <div class="fontclass">#icon-jiaoyileixing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shijian"></use>
                    </svg>
                    <div class="name">事件</div>
                    <div class="fontclass">#icon-shijian</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-gengduo"></use>
                    </svg>
                    <div class="name">更多</div>
                    <div class="fontclass">#icon-gengduo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fentan"></use>
                    </svg>
                    <div class="name">分摊</div>
                    <div class="fontclass">#icon-fentan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-liancha"></use>
                    </svg>
                    <div class="name">联查</div>
                    <div class="fontclass">#icon-liancha</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jixi"></use>
                    </svg>
                    <div class="name">计息</div>
                    <div class="fontclass">#icon-jixi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-quxiaojixi"></use>
                    </svg>
                    <div class="name">取消计息</div>
                    <div class="fontclass">#icon-quxiaojixi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yuti"></use>
                    </svg>
                    <div class="name">预提</div>
                    <div class="fontclass">#icon-yuti</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-quxiaoyuti"></use>
                    </svg>
                    <div class="name">取消预提</div>
                    <div class="fontclass">#icon-quxiaoyuti</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-guanbi"></use>
                    </svg>
                    <div class="name">弹窗关闭</div>
                    <div class="fontclass">#icon-guanbi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shenshuzhuangtai"></use>
                    </svg>
                    <div class="name">申赎状态</div>
                    <div class="fontclass">#icon-shenshuzhuangtai</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zhanghuxinxi"></use>
                    </svg>
                    <div class="name">账户信息</div>
                    <div class="fontclass">#icon-zhanghuxinxi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zhanghuzhongxin"></use>
                    </svg>
                    <div class="name">账户中心</div>
                    <div class="fontclass">#icon-zhanghuzhongxin</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiluzhongxin"></use>
                    </svg>
                    <div class="name">记录中心</div>
                    <div class="fontclass">#icon-jiluzhongxin</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-chakan"></use>
                    </svg>
                    <div class="name">查看</div>
                    <div class="fontclass">#icon-chakan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-guanbi1"></use>
                    </svg>
                    <div class="name">关闭</div>
                    <div class="fontclass">#icon-guanbi1</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-biangengjilu"></use>
                    </svg>
                    <div class="name">变更记录</div>
                    <div class="fontclass">#icon-biangengjilu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-biangeng"></use>
                    </svg>
                    <div class="name">变更</div>
                    <div class="fontclass">#icon-biangeng</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-cela"></use>
                    </svg>
                    <div class="name">侧拉</div>
                    <div class="fontclass">#icon-cela</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fuxuanweiquanxuanxiang"></use>
                    </svg>
                    <div class="name">复选未全选项</div>
                    <div class="fontclass">#icon-fuxuanweiquanxuanxiang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yixuanzhongxiang"></use>
                    </svg>
                    <div class="name">已选中项</div>
                    <div class="fontclass">#icon-yixuanzhongxiang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wufujian"></use>
                    </svg>
                    <div class="name">无附件</div>
                    <div class="fontclass">#icon-wufujian</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-youfujian"></use>
                    </svg>
                    <div class="name">有附件</div>
                    <div class="fontclass">#icon-youfujian</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-xiangzuo"></use>
                    </svg>
                    <div class="name">向左</div>
                    <div class="fontclass">#icon-xiangzuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-celazuo"></use>
                    </svg>
                    <div class="name">侧拉左</div>
                    <div class="fontclass">#icon-celazuo</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-duizhang"></use>
                    </svg>
                    <div class="name">对账规则</div>
                    <div class="fontclass">#icon-duizhang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fazhaishenqing"></use>
                    </svg>
                    <div class="name">发债申请</div>
                    <div class="fontclass">#icon-fazhaishenqing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-daikuanjiaoyi"></use>
                    </svg>
                    <div class="name">贷款交易</div>
                    <div class="fontclass">#icon-daikuanjiaoyi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-daikuanshenqing"></use>
                    </svg>
                    <div class="name">贷款申请</div>
                    <div class="fontclass">#icon-daikuanshenqing</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danbaotaizhang"></use>
                    </svg>
                    <div class="name">担保台账</div>
                    <div class="fontclass">#icon-danbaotaizhang</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-danbaoguanli"></use>
                    </svg>
                    <div class="name">担保管理</div>
                    <div class="fontclass">#icon-danbaoguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-jiaoyichengbenfenxi"></use>
                    </svg>
                    <div class="name">交易成本分析</div>
                    <div class="fontclass">#icon-jiaoyichengbenfenxi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fazhaijiaoyi"></use>
                    </svg>
                    <div class="name">发债交易</div>
                    <div class="fontclass">#icon-fazhaijiaoyi</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shouxinxieyijiankong"></use>
                    </svg>
                    <div class="name">授信协议监控</div>
                    <div class="fontclass">#icon-shouxinxieyijiankong</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shouxinxieyiguanli"></use>
                    </svg>
                    <div class="name">授信协议管理</div>
                    <div class="fontclass">#icon-shouxinxieyiguanli</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wangyinzhifu"></use>
                    </svg>
                    <div class="name">网银支付</div>
                    <div class="fontclass">#icon-wangyinzhifu</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shougongqueren"></use>
                    </svg>
                    <div class="name">手工确认</div>
                    <div class="fontclass">#icon-shougongqueren</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shougongjiesuan"></use>
                    </svg>
                    <div class="name">手工结算</div>
                    <div class="fontclass">#icon-shougongjiesuan</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tuihui"></use>
                    </svg>
                    <div class="name">退回</div>
                    <div class="fontclass">#icon-tuihui</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shouhui"></use>
                    </svg>
                    <div class="name">收回</div>
                    <div class="fontclass">#icon-shouhui</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zuofei"></use>
                    </svg>
                    <div class="name">作废</div>
                    <div class="fontclass">#icon-zuofei</div>
                </li>
            
                <li>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-tijiao"></use>
                    </svg>
                    <div class="name">提交</div>
                    <div class="fontclass">#icon-tijiao</div>
                </li>
            
        </ul>


        <h2 id="symbol-">symbol引用</h2>
        <hr>

        <p>这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
        这种用法其实是做了一个svg的集合，与另外两种相比具有如下特点：</p>
        <ul>
          <li>支持多色图标了，不再受单色限制。</li>
          <li>通过一些技巧，支持像字体那样，通过<code>font-size</code>,<code>color</code>来调整样式。</li>
          <li>兼容性较差，支持 ie9+,及现代浏览器。</li>
          <li>浏览器渲染svg的性能一般，还不如png。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-symbol-">第一步：引入项目下面生成的symbol代码：</h3>
        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;</span></code></pre>
        <h3 id="-css-">第二步：加入通用css代码（引入一次就行）：</h3>
        <pre><code class="lang-js hljs javascript">&lt;style type=<span class="hljs-string">"text/css"</span>&gt;
.icon {
   width: <span class="hljs-number">1</span>em; height: <span class="hljs-number">1</span>em;
   vertical-align: <span class="hljs-number">-0.15</span>em;
   fill: currentColor;
   overflow: hidden;
}
&lt;<span class="hljs-regexp">/style&gt;</span></code></pre>
        <h3 id="-">第三步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-js hljs javascript">&lt;svg <span class="hljs-class"><span class="hljs-keyword">class</span></span>=<span class="hljs-string">"icon"</span> aria-hidden=<span class="hljs-string">"true"</span>&gt;<span class="xml"><span class="hljs-tag">
  &lt;<span class="hljs-name">use</span> <span class="hljs-attr">xlink:href</span>=<span class="hljs-string">"#icon-xxx"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">use</span>&gt;</span>
</span>&lt;<span class="hljs-regexp">/svg&gt;
        </span></code></pre>
    </div>
</body>
</html>
